Ethernet

Quectel Pi M1 smart main control board provides one standard RJ45 port and supports Ethernet communication at 10/100/1000 Mbps.

Ethernet cable requirement: only straight-through Ethernet cables are supported; crossover cables are not supported.

Hardware Interface

../../_images/image_It14bWZo1oAkHoxrU0jcbUrcnIg.webp

Function Usage

View Network Configuration

DHCP is enabled by default in the system to automatically obtain the network configuration.

  1. Enter the ifconfig command in the terminal to view the network interface address:

ifconfig
  1. Output example: the 192.168.90.116 shown after inet addr: is the local IP address.

../../_images/image_LZb5buZlEoBTWpxCNuncg4Ornxg.webp
  1. Enter the ip route command in the terminal to view network routing information:

ip route
  1. Output example:

../../_images/image_MLqWb1xa9oJvVbxUI8Pc88M4n9e.webp
  1. View the DNS server address:

dumpsys connectivity | grep -o ' DnsAddresses: \\[[^]]*\\]'
  1. Output example:

../../_images/image_TLtSbV7y4o4SC2xXgEqcbNbfnqh.webp

Test the Network

**Run theping**command to test the network connection

  • Run the ping 8.8.8.8 command. If the ping succeeds and responses are received, the external network connection is normal.

  • Run the ping www.example.com command. If the ping succeeds, the external network connection is normal and the DNS resolution function is working properly.